package model;

/**
 * Represents an exceptional situation specific to the model.
 * 
 * @author Andrew Patterson
 * @author Robert C. Duvall
 */
@SuppressWarnings("serial")
public class ModelException extends RuntimeException
{
    public static ModelException BAD_IMAGE =
        new ModelException("Image file could not be opened");


    /**
     * Create exception with given message
     * 
     * @param message explanation of problem
     */
    public ModelException (String message)
    {
        super(message);
    }
}
